<template>
  <el-breadcrumb separator-class="el-icon-arrow-right">
      <el-breadcrumb-item :to="{ path: '/home' }">首页</el-breadcrumb-item>
      <el-breadcrumb-item v-for="(item,i) in item" :key="i">{{item}}</el-breadcrumb-item>
    </el-breadcrumb>
</template>

<script>
export default {
  props:{
    item:{
      type:Array
     ,required:true
     ,default(){return[]}
    }
  }
}
</script>

<style>

</style>